package cn.iocoder.yudao.module.system.convert.gugu;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.gugu.vo.CollegeScoreCreateReqVO;
import cn.iocoder.yudao.module.system.controller.admin.gugu.vo.CollegeScoreRespVO;
import cn.iocoder.yudao.module.system.controller.admin.gugu.vo.CollegeScoreUpdateReqVO;
import cn.iocoder.yudao.module.system.dal.dataobject.gugu.CollegeScoreDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 历年高考高校录取分数线数据 Convert
 */
@Mapper
public interface CollegeScoreConvert {

    CollegeScoreConvert INSTANCE = Mappers.getMapper(CollegeScoreConvert.class);

    CollegeScoreDO convert(CollegeScoreCreateReqVO bean);

    CollegeScoreDO convert(CollegeScoreUpdateReqVO bean);

    CollegeScoreRespVO convert(CollegeScoreDO bean);

    List<CollegeScoreRespVO> convertList(List<CollegeScoreDO> list);

    PageResult<CollegeScoreRespVO> convertPage(PageResult<CollegeScoreDO> page);
}
